﻿using System.Collections.Generic;
using System.Runtime.Serialization;
using KillBill.Services.DTO;
namespace KillBill.Business.Entities.ListEntities
{
    [DataContract(IsReference = true)]
    public class ProviderList : KillBillDTO
    {
         [DataMember]
         public List<Provider> Providers { get; set; }

         [DataMember]
         public KillBillDTO DTO
         {
             get { return new KillBillDTO { Success = this.Success, Messages = this.Messages }; }
             set
             {
                 this.Success = value.Success;
                 this.Messages = value.Messages;
             }
         }
    }
}
